#ifndef _BBEVENTPOOLMANAGER_H_
#define _BBEVENTPOOLMANAGER_H_

#include "BBSingleton.h"
#include <vector>

class BBEvent;

class BBEventPoolManager : public BBSingleton<BBEventPoolManager>
{
public:
	void addEventListener(BBEvent* evt);
	void removeEventLIstener(BBEvent* evt);
	void purgeEventPoolManager();
	void clear();
private:
	friend class BBSingleton<BBEventPoolManager>;
	BBEventPoolManager(void);
	~BBEventPoolManager(void);
private:
	std::vector<BBEvent*> m_pEventList;
};

#endif